<!doctype html>

<html>
<head>
  <link rel="shortcut icon" href="static/images/favicon.ico" type="image/x-icon">
  <title>messages.js (Closure Library API Documentation - JavaScript)</title>
  <link rel="stylesheet" href="static/css/base.css">
  <link rel="stylesheet" href="static/css/doc.css">
  <link rel="stylesheet" href="static/css/sidetree.css">
  <link rel="stylesheet" href="static/css/prettify.css">

  <script>
     var _staticFilePath = "static/";
     var _typeTreeName = "goog";
     var _fileTreeName = "Source";
  </script>

  <script src="static/js/doc.js">
  </script>


  <meta charset="utf8">
</head>

<body onload="grokdoc.onLoad();">

<div id="header">
  <div class="g-section g-tpl-50-50 g-split">
    <div class="g-unit g-first">
      <a id="logo" href="index.html">Closure Library API Documentation</a>
    </div>

    <div class="g-unit">
      <div class="g-c">
        <strong>Go to class or file:</strong>
        <input type="text" id="ac">
      </div>
    </div>
  </div>
</div>

<div class="clear"></div>

<h2><a href="closure_goog_ui_editor_messages.js.html">messages.js</a></h2>

<pre class="prettyprint lang-js">
<a name="line1"></a>// Copyright 2008 The Closure Library Authors. All Rights Reserved.
<a name="line2"></a>//
<a name="line3"></a>// Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
<a name="line4"></a>// you may not use this file except in compliance with the License.
<a name="line5"></a>// You may obtain a copy of the License at
<a name="line6"></a>//
<a name="line7"></a>//      http://www.apache.org/licenses/LICENSE-2.0
<a name="line8"></a>//
<a name="line9"></a>// Unless required by applicable law or agreed to in writing, software
<a name="line10"></a>// distributed under the License is distributed on an &quot;AS-IS&quot; BASIS,
<a name="line11"></a>// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
<a name="line12"></a>// See the License for the specific language governing permissions and
<a name="line13"></a>// limitations under the License.
<a name="line14"></a>
<a name="line15"></a>/**
<a name="line16"></a> * @fileoverview Messages common to Editor UI components.
<a name="line17"></a> *
<a name="line18"></a> * @author robbyw@google.com (Robby Walker)
<a name="line19"></a> */
<a name="line20"></a>
<a name="line21"></a>goog.provide(&#39;goog.ui.editor.messages&#39;);
<a name="line22"></a>
<a name="line23"></a>
<a name="line24"></a>/** @desc Link button / bubble caption. */
<a name="line25"></a>goog.ui.editor.messages.MSG_LINK_CAPTION = goog.getMsg(&#39;Link&#39;);
<a name="line26"></a>
<a name="line27"></a>
<a name="line28"></a>/** @desc Title for the dialog that edits a link. */
<a name="line29"></a>goog.ui.editor.messages.MSG_EDIT_LINK = goog.getMsg(&#39;Edit Link&#39;);
<a name="line30"></a>
<a name="line31"></a>
<a name="line32"></a>/** @desc Prompt the user for the text of the link they&#39;ve written. */
<a name="line33"></a>goog.ui.editor.messages.MSG_TEXT_TO_DISPLAY = goog.getMsg(&#39;Text to display:&#39;);
<a name="line34"></a>
<a name="line35"></a>
<a name="line36"></a>/** @desc Prompt the user for the URL of the link they&#39;ve created. */
<a name="line37"></a>goog.ui.editor.messages.MSG_LINK_TO = goog.getMsg(&#39;Link to:&#39;);
<a name="line38"></a>
<a name="line39"></a>
<a name="line40"></a>/** @desc Prompt the user to type a web address for their link. */
<a name="line41"></a>goog.ui.editor.messages.MSG_ON_THE_WEB = goog.getMsg(&#39;Web address&#39;);
<a name="line42"></a>
<a name="line43"></a>
<a name="line44"></a>/** @desc More details on what linking to a web address involves.. */
<a name="line45"></a>goog.ui.editor.messages.MSG_ON_THE_WEB_TIP = goog.getMsg(
<a name="line46"></a>    &#39;Link to a page or file somewhere else on the web&#39;);
<a name="line47"></a>
<a name="line48"></a>
<a name="line49"></a>/**
<a name="line50"></a> * @desc Text for a button that allows the user to test the link that
<a name="line51"></a> *     they created.
<a name="line52"></a> */
<a name="line53"></a>goog.ui.editor.messages.MSG_TEST_THIS_LINK = goog.getMsg(&#39;Test this link&#39;);
<a name="line54"></a>
<a name="line55"></a>
<a name="line56"></a>/**
<a name="line57"></a> * @desc Explanation for how to create a link with the link-editing dialog.
<a name="line58"></a> */
<a name="line59"></a>goog.ui.editor.messages.MSG_TR_LINK_EXPLANATION = goog.getMsg(
<a name="line60"></a>    &#39;{$startBold}Not sure what to put in the box?{$endBold} &#39; +
<a name="line61"></a>    &#39;First, find the page on the web that you want to &#39; +
<a name="line62"></a>    &#39;link to. (A {$searchEngineLink}search engine{$endLink} &#39; +
<a name="line63"></a>    &#39;might be useful.) Then, copy the web address from &#39; +
<a name="line64"></a>    &quot;the box in your browser&#39;s address bar, and paste it into &quot; +
<a name="line65"></a>    &#39;the box above.&#39;,
<a name="line66"></a>    {&#39;startBold&#39;: &#39;&lt;b&gt;&#39;,
<a name="line67"></a>     &#39;endBold&#39;: &#39;&lt;/b&gt;&#39;,
<a name="line68"></a>     &#39;searchEngineLink&#39;: &quot;&lt;a href=&#39;http://www.google.com/&#39; target=&#39;_new&#39;&gt;&quot;,
<a name="line69"></a>     &#39;endLink&#39;: &#39;&lt;/a&gt;&#39;});
<a name="line70"></a>
<a name="line71"></a>
<a name="line72"></a>/** @desc Prompt for the URL of a link that the user is creating. */
<a name="line73"></a>goog.ui.editor.messages.MSG_WHAT_URL = goog.getMsg(
<a name="line74"></a>    &#39;To what URL should this link go?&#39;);
<a name="line75"></a>
<a name="line76"></a>
<a name="line77"></a>/**
<a name="line78"></a> * @desc Prompt for an email address, so that the user can create a link
<a name="line79"></a> *    that sends an email.
<a name="line80"></a> */
<a name="line81"></a>goog.ui.editor.messages.MSG_EMAIL_ADDRESS = goog.getMsg(&#39;Email address&#39;);
<a name="line82"></a>
<a name="line83"></a>
<a name="line84"></a>/**
<a name="line85"></a> * @desc Explanation of the prompt for an email address in a link.
<a name="line86"></a> */
<a name="line87"></a>goog.ui.editor.messages.MSG_EMAIL_ADDRESS_TIP = goog.getMsg(
<a name="line88"></a>    &#39;Link to an email address&#39;);
<a name="line89"></a>
<a name="line90"></a>
<a name="line91"></a>/** @desc Error message when the user enters an invalid email address. */
<a name="line92"></a>goog.ui.editor.messages.MSG_INVALID_EMAIL = goog.getMsg(
<a name="line93"></a>    &#39;Invalid email address&#39;);
<a name="line94"></a>
<a name="line95"></a>
<a name="line96"></a>/**
<a name="line97"></a> * @desc When the user creates a mailto link, asks them what email
<a name="line98"></a> *     address clicking on this link will send mail to.
<a name="line99"></a> */
<a name="line100"></a>goog.ui.editor.messages.MSG_WHAT_EMAIL = goog.getMsg(
<a name="line101"></a>    &#39;To what email address should this link?&#39;);
<a name="line102"></a>
<a name="line103"></a>
<a name="line104"></a>/**
<a name="line105"></a> * @desc Warning about the dangers of creating links with email
<a name="line106"></a> *     addresses in them.
<a name="line107"></a> */
<a name="line108"></a>goog.ui.editor.messages.MSG_EMAIL_EXPLANATION = goog.getMsg(
<a name="line109"></a>    &#39;{$preb}Be careful.{$postb} &#39; +
<a name="line110"></a>    &#39;Remember that any time you include an email address on a web page, &#39; +
<a name="line111"></a>    &#39;nasty spammers can find it too.&#39;, {&#39;preb&#39;: &#39;&lt;b&gt;&#39;, &#39;postb&#39;: &#39;&lt;/b&gt;&#39;});
<a name="line112"></a>
<a name="line113"></a>
<a name="line114"></a>/**
<a name="line115"></a> * @desc Label for the checkbox that allows the user to specify what when this
<a name="line116"></a> *     link is clicked, it should be opened in a new window.
<a name="line117"></a> */
<a name="line118"></a>goog.ui.editor.messages.MSG_OPEN_IN_NEW_WINDOW = goog.getMsg(
<a name="line119"></a>    &#39;Open this link in a new window&#39;);
<a name="line120"></a>
<a name="line121"></a>
<a name="line122"></a>/** @desc Image bubble caption. */
<a name="line123"></a>goog.ui.editor.messages.MSG_IMAGE_CAPTION = goog.getMsg(&#39;Image&#39;);
</pre>


</body>
</html>
